<?php
	require("./common/common.php");
	$model = new Model('bbs_user');
	$_POST['id'] = isset($_POST['id']) ? $_POST['id'] : '';
	$id = $_POST['id'];
	$num = $model->update();
	if($num > 0) {
		echo "<script>
				alert('修改成功！');
				window.location.href='./index.php';
			</script>";
	}
